import {defineStore} from 'pinia'

const useSelectDatabaseStore = defineStore("selectDatabaseStore",{
    state(){
        return{
            database: "",
            papers: []
        }
    },
    actions: {
        setDatabase(res){
            this.database = res
        },
        setPapers(res){
            this.papers = res
        }
    }
})

export default useSelectDatabaseStore